Clover coverage report - bexee - 0.1
Coverage timestamp: Do Dez 16 2004 13:24:06 CET
file stats: LOC: 61   Methods: 3
NCLOC: 15   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
ProcessInstance.java - 100% 100% 100%
coverage
 1   
 /*
 2   
  * $Id: ProcessInstance.java,v 1.1 2004/12/15 14:18:10 patforna Exp $
 3   
  *
 4   
  * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
 5   
  * Berne University of Applied Sciences
 6   
  * School of Engineering and Information Technology
 7   
  * All rights reserved.
 8   
  */
 9   
 package bexee.core;
 10   
 
 11   
 import bexee.model.process.BPELProcess;
 12   
 
 13   
 /**
 14   
  * The ProcessInstance contains no logic at all but merely serves as a container
 15   
  * for encapsulating a ProcessContext instance and its corresponding BPELProcess
 16   
  * reference.
 17   
  * <p>
 18   
  * Thus the fusion of the ProcessContext and the BPELProcess together form a
 19   
  * ProcessInstance.
 20   
  * 
 21   
  * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
 22   
  * @author Patric Fornasier
 23   
  * @author Pawel Kowalski
 24   
  */
 25   
 public class ProcessInstance {
 26   
 
 27   
     private ProcessContext context;
 28   
 
 29   
     private BPELProcess process;
 30   
 
 31   
     /**
 32   
      * Create a new ProcessInstance instance with a BPELProcess and a
 33   
      * ProcessContext.
 34   
      * 
 35   
      * @param process
 36   
      * @param context
 37   
      */
 38  42
     public ProcessInstance(BPELProcess process, ProcessContext context) {
 39  42
         this.process = process;
 40  42
         this.context = context;
 41   
     }
 42   
 
 43   
     /**
 44   
      * Get the ProcessContext associated with this ProcessInstance.
 45   
      * 
 46   
      * @return a ProcessContext
 47   
      */
 48  48
     public ProcessContext getContext() {
 49  48
         return context;
 50   
     }
 51   
 
 52   
     /**
 53   
      * Get the BPELProcess associated with this ProcessInstance.
 54   
      * 
 55   
      * @return a BPELProcess
 56   
      */
 57  44
     public BPELProcess getProcess() {
 58  44
         return process;
 59   
     }
 60   
 
 61   
 }